import { post } from '../http'
import { cherryPick2Dict } from '@/utils/formatResponseData'

export const randeaccountPageData = () =>
  post({
    url: '/inExpAccount/pageData',
    format: (res: any) => {
      return cherryPick2Dict(res.result, {
        inExpTypeList: 'inExpTypeList', // 收付款类型
        inExpWayList: 'inExpWayList', // 收付款方式
      })
    },
  })
